package com.lczyfz.istep.modules.openstack.api.nova.model;

import net.sf.json.JSONArray;

/**
 * �������ʵ����
 * @author jm
 */
public class Server {
	
	/** �����ID  **/
	private String id;

	/** �������  **/
	private String name;
	
	/** �����״̬  **/
	private String status;
	
	/** ���������  **/
	private String imageRef;
	
	/** �����IPV4  **/
	private String accessIPv4;
	
	/** �����IPV6  **/
	private String accessIPv6;
	
	/** ����� ����  **/
	private String adminPass;
	
	/** ����� ��ȫ��  **/
	private JSONArray securityGroups;
	
	/** ����� ʹ������ **/
	private String userData;
	
	/** ����� ����  **/
	private JSONArray networks;
	
	/** �˿�*/
	private JSONArray ports;
	
	private String flavorRef;
	private String ip;
	public String toString(){
		return  "Server [id=" + id + ", name=" + name + ", status=" + status + ", imageId=" + imageRef + ", flavorId="
				+ flavorRef + ", userData=" + userData + ", accessIPv4=" + accessIPv4 + ", accessIPv6=" + accessIPv6
				+"]";
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getImageRef() {
		return imageRef;
	}

	public void setImageRef(String imageRef) {
		this.imageRef = imageRef;
	}

	public String getAccessIPv4() {
		return accessIPv4;
	}

	public void setAccessIPv4(String accessIPv4) {
		this.accessIPv4 = accessIPv4;
	}

	public String getAccessIPv6() {
		return accessIPv6;
	}

	public void setAccessIPv6(String accessIPv6) {
		this.accessIPv6 = accessIPv6;
	}

	public String getAdminPass() {
		return adminPass;
	}

	public void setAdminPass(String adminPass) {
		this.adminPass = adminPass;
	}

	public JSONArray getSecurityGroups() {
		return securityGroups;
	}

	public void setSecurityGroups(JSONArray securityGroups) {
		this.securityGroups = securityGroups;
	}

	public String getUser_data() {
		return userData;
	}

	public void setUser_data(String user_data) {
		this.userData = user_data;
	}

	public JSONArray getNetworks() {
		return networks;
	}

	public void setNetworks(JSONArray networks) {
		this.networks = networks;
	}
	
	public JSONArray getPorts() {
		return ports;
	}

	public void setPorts(JSONArray ports) {
		this.ports = ports;
	}


	public String getFlavorRef() {
		return flavorRef;
	}


	public void setFlavorRef(String flavorRef) {
		this.flavorRef = flavorRef;
	}
	
}
